package org.jeecg.modules.kuner.hirebase.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description:
 * @Author: Planifolia.Van
 * @Date: 2025/2/18 16:11
 */
@Data
public class KrHireVO {
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**发布人*/
    @Excel(name = "发布人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "发布人")
    private String publishUser;
    /**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;

    /**工作经验*/
    @Excel(name = "工作经验", width = 15)
    @ApiModelProperty(value = "工作经验")
    private String experience;
    /**学历*/
    @Excel(name = "学历", width = 15)
    @ApiModelProperty(value = "学历")
    private String edu;
    /**起始薪资*/
    @Excel(name = "起始薪资", width = 15)
    @ApiModelProperty(value = "起始薪资")
    private BigDecimal salaryS;
    /**结束薪资*/
    @Excel(name = "结束薪资", width = 15)
    @ApiModelProperty(value = "结束薪资")
    private BigDecimal salaryE;
    /**工作关键字*/
    @Excel(name = "工作关键字", width = 15)
    @ApiModelProperty(value = "工作关键字")
    private String workTag;
    /**工作城市*/
    @Excel(name = "工作城市", width = 15)
    @ApiModelProperty(value = "工作城市")
    private String workCity;
    /**工作分类*/
    @Excel(name = "工作分类", width = 15, dictTable = "kr_type_base", dicText = "name", dicCode = "id")
    @Dict(dictTable = "kr_type_base", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "工作分类")
    private String type;

    @ApiModelProperty("头像")
    private String cover;

    @ApiModelProperty("联系人名称")
    private String name;
}
